<template>
  <img style="width: 100%" :src="getImageName(props.imageName)" alt="" />
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
  imageName: String,
});

const getImageName = imageName => {
  return require('@/assets/plugin/img/' + imageName + '.png');
};
</script>
